<template>
  <div>
    <h3>
      <button @click="handle_btn">LittleBrother</button>
    </h3>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import bus from "@/libs/bus"

export default defineComponent({
  setup() {
    const handle_btn = () => {
      console.log("LittleBrother-btn-handler:");
      bus.emit('sayHi', "牛牛牛牛牛牛牛牛牛牛牛牛")

    }

    return {
      handle_btn
    }
  }
})
</script>

<style scoped>

</style>
